Class com.symantec.itools.vcafe.openapi.dtreflect.DTField
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.vcafe.openapi.dtreflect.DTField

Object
   |
   +----DTMember
           |
           +----com.symantec.itools.vcafe.openapi.dtreflect.DTField

public class DTField
extends DTMember
implements Serializable

Method Index

 o equals(Object)
Compares this DTField against the specified object.
 o equals(DTField)
Compares this DTField against the specified DTField.
 o getJavadocRange()
gets the text range from the beginning of the first line of the field's Javadoc comment to the closing asterisk-slash characters
 o getSourceRange()
gets the text range from the beginning of the field declaration to the closing brace
 o rename(String)
Renames the field to new name
 o toShortString()
Returns a short string describing this DTField.
 o toString()
Returns a string describing this DTField.
 o validate()
Ensure that this member is valid in its project

Methods

 o equals
public boolean equals(Object obj)
Compares this DTField against the specified object. Returns true if the objects are the same. Two Fields are the same if they were declared by the same class and have the same name, type and modifiers.

Overrides:
equals in class DTMember
 o equals
public boolean equals(DTField other)
Compares this DTField against the specified DTField. Returns true if the fields are the same. Two Fields are the same if they were declared by the same class and have the same name, type and modifiers.

 o getJavadocRange
public com.symantec.itools.vcafe.openapi.Range getJavadocRange()
gets the text range from the beginning of the first line of the field's Javadoc comment to the closing asterisk-slash characters

Overrides:
getJavadocRange in class DTMember
 o getSourceRange
public com.symantec.itools.vcafe.openapi.Range getSourceRange()
gets the text range from the beginning of the field declaration to the closing brace

Overrides:
getSourceRange in class DTMember
 o rename
public boolean rename(String newName)
Renames the field to new name

Parameters:
newName: - The new name of the field
Returns:
Success (true) or failure (false)...
 o toShortString
public java.lang.String toShortString()
Returns a short string describing this DTField. The string consists of the field name, e.g., "substring(int,int)".

 o toString
public java.lang.String toString()
Returns a string describing this DTField. The string is formatted as the field access modifiers, if any, followed by the field type, followed by the class declaring the field, followed by a period, followed by the field name. For example:
	private float java.lang.Float.value
 

The access modifiers are placed in canonical order as specified by "The Java Language Specification". This is public, protected or private first, and then other modifiers in the following order: abstract, static, final, synchronized native.

Overrides:
toString in class Object
 o validate
public boolean validate()
Ensure that this member is valid in its project

Overrides:
validate in class DTMember

All Packages  Class Hierarchy  This Package  Previous  Next  Index